mcheck: Small fix for CMCI Threshold set problem.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 30 Mar 2010 07:32:34 +0000 (08:32 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 30 Mar 2010 07:32:34 +0000 (08:32 +0100)
commit24f2d7393849de5aec0ff36f3b02d22d327de59e
tree404d87753206f08243a5a266ec0f7b096302c3fb
parente1a5597bc844d14d4d46a88b301b9cea39729634
mcheck: Small fix for CMCI Threshold set problem.

When generating new threshold value, we must firstly clean old value
before or the new set value since the new value might be different
with the old (BIOS might pre-set some threshold).

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Ying Huang <ying.huang@intel.com>
xen/arch/x86/cpu/mcheck/mce_intel.c